package Operation;

import book.BookList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2023-12-31
 * Time: 22:11
 */
public class ShowOperation implements Operation{
    @Override
    public void work(BookList book) {
        int size=book.getUsedSize();
        for (int i = 0; i < size; i++) {
            System.out.println(book.getBook(i).toString());
        }

    }
}
